TArray.LastIndexOf<T>(T[],T,Integer,Integer) Method
Searches for the specified element and returns the index of the last occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements.
public class function LastIndexOf<T>(const values: array of T; const item: T; index, count: Integer): Integer; overload; static;
Type Parameters
- T
Parameters
- values
- Type: array of T
- item
- Type: T
- index
- Type: Integer
- count
- Type: Integer
Return Value
Type: Integer